

<ion-view>
    <ion-header-bar class="index_head">
        <button class="button button-icon icon ion-android-arrow-back" ng-click="$ionicGoBack()" style="color: #fff"></button>
        <div class="h1 title"> 活动列表</div>
        <button ng-if="!sphone" class="button button-clear button-positive zhuce_head_btn" style="color: #fff;font-size: 14px;" ng-click="modal.addShopAc()">添加活动</button>
    </ion-header-bar>
  <!--<ion-nav-buttons side="right">-->
    <!--<button ng-if="!sphone" class="button button-clear" ng-click="modal.addShopAc()" style="font-size: 14px;">新增活动</button>-->
  <!--</ion-nav-buttons>-->
  <ion-content class="shopaclist">
    <!--<div class="list">-->
      <!--<a ng-repeat="l in list" class="item item-thumbnail-left" href="javascript:">-->
        <!--<img ng-src="{{l.activityImg ? (baseUrl + l.activityImg) : 'img/shop_activity.png'}}" ui-sref="app.shopsAcDetail({id: l.id,sphone:sphone})">-->
        <!--<i ng-show="l.activityOver" class="activity-flag">活动结束</i>-->
        <!--<h2 ui-sref="app.shopsAcDetail({id: l.id,sphone:sphone})">{{l.activityTitle}}</h2>-->
        <!--<p ng-if="!sphone" ng-click="delete(l.id)" class="acdelete">删除</p>-->
        <!--<p ui-sref="app.shopsAcDetail({id: l.id,sphone:sphone})" class="actime">{{l.activityStartDateTime | date:'yyyy-MM-dd HH:mm'}}</p>-->
        <!--<p ui-sref="app.shopsAcDetail({id: l.id,sphone:sphone})" ng-show="l.activityType == '1'" class="acaddress">{{l.activityAddress}}</p>-->
      <!--</a>-->
      <div ng-show="list && list.length <= 0" style="padding: 40px; text-align: center;">暂无活动</div>
    <!--</div>-->




      <div style="">
          <div class="bg-fff w4-hot-list" ng-repeat="l in list" ui-sref="app.shopsAcDetail({id: l.id,sphone:sphone})" style="margin-bottom: 10px;">
              <div class="aclist_list_i" ng-style="myObj">
                  <img id="shopaclist{{$index}}" ng-src="{{l.activityImg ? (baseUrl + l.activityImg) : 'img/shop_activity.png'}}?x-oss-process=image/resize,w_750" alt="活动图片" ng-style="imghe($index) ">
                  <i ng-show="l.activityOver" class="activity-flag">活动结束</i>
              </div>

              <div class="off-line-box">

                  <p class="ly-line-heard">{{l.activityTitle}}</p>
                  <div class="row row-no-padding shopAclist_p" style="padding:0 15px; color: #999;font-size: 12px;">
                      <div style="width: 100%">
                          <div class="">

                              <p class="" ng-hide="l.activityType=='2'">
                                   <span>
                                      <img src="img/commimg/dw_icon.png" alt="" style="width: 16px;vertical-align: middle">
                                  </span>{{l.activityAddress}}
                                  <!--<span class="ly-add-icon"></span>{{l.activityAddress}}-->
                              </p>
                              <p class="">
                                  <span>
                                      <img src="img/commimg/xianshang.png" alt="" style="width: 16px;vertical-align: middle">
                                  </span>{{l.activityType=='1'&&'线下活动'||l.activityType=='2'&&'线上活动'||''}}
                              </p>
                          </div>
                            <div class="weui-flex">
                                <p class="weui-flex__item"><span class="ly-time-icon"></span>{{l.activityStartDateTime | date:'yyyy-MM-dd HH:mm'}}</p>
                                <p style="color: #fb8223;font-size: 18px">
                                    <span style="font-size: 14px;" ng-show="l.activityPrice">¥</span>{{l.activityPrice || '免费'}}



                                </p>
                            </div>


                      </div>
                      <div class="col text-right">
                          <!--2016/08/22--4.2.3版本需求=APP隐藏报名数据-->
                          <!--<p><span style="color: #fa5805;">{{i.activitiesParticipatePerson || 0}}</span>报名</p>-->
                          <!--<button class="ly-button" ng-show="activityIsIng(i)">参与活动</button>-->
                          <!--<button class="ly-button" style="background-color: #c8c8c8" ng-if="activityIsEnd(i)">活动结束</button>-->
                          <!--<button class="ly-button" style="background-color: #c8c8c8" ng-if="!activityIsEnd(i) &&signUpIsEnd(i)">报名结束</button>-->
                          <!--<button class="ly-button" style="background-color: #c8c8c8" ng-if="activityIsFull(i) && !activityIsEnd(i) && !signUpIsEnd(i)">报名已满</button>-->
                      </div>
                  </div>
              </div>
          </div>
      </div>






  </ion-content>
</ion-view>